Skip to content

feature request: Support max version required #872

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
CervEdin opened this issue Jan 17, 2025 · 0 comments
Closed

feature request: Support max version required #872

CervEdin opened this issue Jan 17, 2025 · 0 comments
Labels
enhancement resolved Issue is resolved and the feature or fix will be part of next release

Comments

@CervEdin
Copy link

I recently discovered that it is possible to specify a minimum version required by a MiniZinc model
https://docs.minizinc.dev/en/stable/lib-stdlib-language.html#mzn-ref-stdlib-language-mzn-min-version-required

For example

mzn_min_version_required = 2 * 10000
                         + 8 * 1000
                         + 5;

Very neat!

But sometimes newer versions of the compiler may introduce subtle bugs and if someone is using snap or similar to install the latest release it may be too new.
I think it would make sense to additionally support a mzn_max_version_required.

@guidotack guidotack added the resolved Issue is resolved and the feature or fix will be part of next release label May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement resolved Issue is resolved and the feature or fix will be part of next release
Projects
None yet
Development

No branches or pull requests

3 participants